ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Programming (Section 13 - No. 47)

Which part of the program is executed based on the value of 'answer' in the case statement?
The entire program code.
The code block associated with the matching case.
The program will not run.
The ELSE statement.

Forklaring

The CASE statement directs the program to execute a specific block of code based on the value of the variable being checked.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc